<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>添加隐患</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" href="../../../layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="../../../css/public.css" media="all" />
		<link rel="stylesheet" href="../../common/zTreeStyle.css" />
		<style type="text/css">
			.fowei {
				font-size: bold;
				color: black;
			}
			
			.back_san {
				display: inline-block;
				vertical-align: bottom;
				margin-right: -4px;
				width: 0;
				height: 0;
				border-bottom: 19px solid transparent;
				border-top: 19px solid transparent;
				border-left: 19px solid transparent;
				border-right: 19px solid #1E9FFF;
			}
			
			.backtit {
				display: inline-block;
				float: right;
				position: relative;
				top: -10px;
			}
			
			.topsty {
				height: 40px;
				border-bottom: 1px solid #1E9FFF;
				line-height: 40px;
				background: white;
			}
		</style>
	</head>

	<body class="childrenBody" style="background: white;">

		<div class="topsty">
			<div style="display: inline;"><span style="font-size: 15px;"><i class="layui-icon" style="color: #1E9FFF;margin:0 10px 0 30px;">&#xe65b;</i>添加隐患</span></div>
			<div class="backtit" style="top: -5px;">
				<div class="back_san"></div>
				<a href="../../../page/risk/risk-list/risk-list.html" class="layui-btn layui-btn-normal addNews_btn">返回列表页</a>
			</div>
		</div>

		<form class="layui-form">
			<table class="layui-table " lay-skin="nob" style="background: white;">
				<colgroup>
					<col width="10%">
					<col width="23.33%">
					<col width="10%">
					<col width="23.33%">
					<col width="10%">
					<col width="23.33%">
				</colgroup>

				<tbody>
					<tr>
						<td>

							<div class="layui-input-inline">
								<label class="fowei">发现人</label>

							</div>

						</td>
						<td>

							<input type="text" class="layui-input searchVal" id="findpos" placeholder="输入姓名" />

						</td>
						<td>

							<label class="fowei">发现时间</label>

						</td>
						<td>

							<input type="text" class="layui-input searchVal" readonly="" id="findtime" placeholder="发现时间">

							<td>

								<label class="fowei">隐患类型</label>

							</td>
							<td>

								<select name="interest" id="risk_type" lay-filter="aihao">

								</select>

							</td>
					</tr>
					<tr>
						<td>

							<label class="fowei">隐患描述</label>

						</td>
						<td colspan="5"><textarea maxlength="2000" name="desc" id="risk_descr" style="resize: none;" placeholder="输入需要填报的隐患" class="layui-textarea"></textarea></td>
					</tr>
					<tr>
						<td>

						</td>
						<td colspan="5">
							<!--<input type="file" id="selfile" style="display: none;" />
							<button class="layui-btn layui-btn-normal" type="button" id="updatapic">上传图片</button>

							</div>-->

							<div class="layui-upload">
								<button type="button" class="layui-btn layui-btn-normal" id="test2">选择图片</button>

							</div>

						</td>
					</tr>
					<tr>
						<td></td>
						<td colspan="5">
							<div id="picapp">

							</div>
						</td>
					</tr>
					<tr>
						<td>

							<label class="fowei">核查人</label>

						</td>
						<td><input type="text" class="layui-input searchVal" id="checkone" placeholder="输入姓名" /></td>
						<td>

							<label class="fowei">核查时间</label>

						</td>
						<td>
							<input type="text" class="layui-input searchVal" readonly="" id="checktime" placeholder="核查时间">
						</td>
						<td>

							<label class="fowei">防控措施<br />落实时间</label>

						</td>
						<td><input type="text" class="layui-input searchVal" readonly="" id="risk_endtime" placeholder="防控措施落实时间"></td>

					</tr>
					<tr>
						<td>

							<label class="fowei">核查结论</label>

						</td>
						<td colspan="5"><textarea maxlength="2000" name="desc" placeholder="输入核查结论" style="resize: none;" id="checkverdict" class="layui-textarea"></textarea></td>

					</tr>
					<tr>
						<td>

							<label class="fowei">防控措施</label>

						</td>
						<td colspan="5"><textarea maxlength="2000" name="desc" placeholder="输入防控措施" style="resize: none;" id="prevention" class="layui-textarea"></textarea></td>

					</tr>
					<tr>
						<td>

							<label class="fowei">治理期限</label>

						</td>
						<td><input type="text" class="layui-input searchVal" readonly="" id="test-limit2" placeholder="治理期限"></td>
						<td colspan="4"></td>
					</tr>
					<tr>
						<td>

							<label class="fowei">责任人</label>

						</td>
						<td><input type="text" class="layui-input searchVal" id="dutyperson" placeholder="输入姓名" /></td>
						<td>

							<label class="fowei">责任单位</label>

						</td>
						<td>

							<!--<select name="interest" id="dutycompay" lay-filter="aihao">

							</select>-->
							<input type="text" id="resclas" readonly="" placeholder="请选择单位" autocomplete="off" class="layui-input" lay-verify="required">

							<ul id="resclass" class="ztree" style="height: 300px;overflow: auto; display: none;position: absolute;width: 239px;z-index: 999;background:white;">

							</ul>
						</td>

						<td></td>
						<td></td>
					</tr>
					<tr>
						<td colspan="6" style="text-align: center;"><button type="button" style="width: 100px;font-size: 16px;margin-top: 20px;" class="layui-btn layui-btn-danger" id="submitsev">提&nbsp;交</button></td>

					</tr>
				</tbody>
			</table>

		</form>

		<!--操作-->
		<script type="text/html" id="newsListBar">
			<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
			<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
			<a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="look">预览</a>
		</script>
		</form>
		<script type="text/javascript" src="../../common/jquery.min.js"></script>
		<script type="text/javascript" src="../../common/config.js"></script>
		<script type="text/javascript" src="../../../layui/layui.js"></script>
		<script type="text/javascript" src="../../common/jquery.ztree.core.js"></script>
		<script type="text/javascript" src="../../common/jquery.ztree.excheck.js"></script>
		<script type="text/javascript" src="risk-add.js"></script>
		<script>
			$("body").click(function(){
			     $("#resclass").hide();
			})
			$('#resclas').click(function(){
			     return false;
			});
			$('#resclass').click(function(){
			     return false;
			});
		</script>
	</body>

</html>